import {cardCache } from "nc-lightapp-front";
let {setDefData } = cardCache;

function saveFieldDisabledFromMeta(meta, dataSource, areas) {
    let fieldDisabled = {};
    areas.forEach((areaOne) => {
        let areaOneMeta = {};
        meta[areaOne].items.forEach((one) => {
            areaOneMeta[one.attrcode] = one.disabled;
        })
        fieldDisabled[areaOne] = areaOneMeta;
    })
    setDefData('fieldEnable4Card', dataSource, fieldDisabled);
}
function getOneFieldDisabled(dataSource, ){

}